package cn.tedu.csmall.product.pojo.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Objects;

@Data
@Accessors(chain = true)
public class Spu implements Serializable {
    private Integer id;
    private String name;
    private String typeNumber;
    private String title;
    private String description;
    private BigDecimal listPrice;
    private Integer stock;
    private Integer stockThreshold;
    private String unit;
    private Integer brandId;
    private String brandName;
    private Integer categoryId;
    private String categoryName;
    private Integer attributeTemplateId;
    private Integer albumId;
    private String pictures;
    private String keywords;
    private String tage;
    private Integer sales;
    private Integer commentCount;
    private Integer positiveCommentCount;
    private Integer sort;
    private Integer isDeleted;
    private Integer isPublished;
    private Integer isNewArrival;
    private Integer isrecommend;
    private Integer isChecked;
    private String checkUser;
    private LocalDateTime gmtcheck;
    private LocalDateTime gmtCreate;
    private LocalDateTime gmtModified;
}
